home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / winfo / seeya.frm < prev    next >
Text File  |  1995-05-08  |  2KB  |  61 lines

  1. VERSION 2.00
  2. Begin Form SeeYa 
  3.    BackColor       =   &H00000000&
  4.    BorderStyle     =   0  'None
  5.    Caption         =   "SEE YA!"
  6.    ClientHeight    =   735
  7.    ClientLeft      =   3660
  8.    ClientTop       =   3135
  9.    ClientWidth     =   2100
  10.    ControlBox      =   0   'False
  11.    Height          =   1140
  12.    Left            =   3600
  13.    LinkMode        =   1  'Source
  14.    LinkTopic       =   "Form2"
  15.    MaxButton       =   0   'False
  16.    MinButton       =   0   'False
  17.    ScaleHeight     =   735
  18.    ScaleWidth      =   2100
  19.    Top             =   2790
  20.    Width           =   2220
  21.    Begin Timer Timer1 
  22.       Interval        =   1000
  23.       Left            =   840
  24.       Top             =   600
  25.    End
  26.    Begin Label Label1 
  27.       Alignment       =   2  'Center
  28.       BackColor       =   &H00000000&
  29.       Caption         =   "SEE YA!"
  30.       FontBold        =   -1  'True
  31.       FontItalic      =   0   'False
  32.       FontName        =   "MS Serif"
  33.       FontSize        =   24
  34.       FontStrikethru  =   0   'False
  35.       FontUnderline   =   0   'False
  36.       ForeColor       =   &H0000FFFF&
  37.       Height          =   495
  38.       Left            =   0
  39.       TabIndex        =   0
  40.       Top             =   120
  41.       Width           =   2175
  42.    End
  43. End
  44. Sub Form_GotFocus ()
  45. AboutBox.Enabled = 0     'Disable AboutBox
  46. End Sub
  47.  
  48. Sub Form_Load ()
  49. Move (Screen.width - width) \ 2, (Screen.height - height) \ 2     'Center form
  50. End Sub
  51.  
  52. Sub Timer1_Timer ()
  53. Beep    'Beep!
  54. Unload SeeYa    'Get ride of SeeYa form and reset timer1 after the intervel is over.
  55. AboutBox.Hide       'Hide AboutBox
  56. AboutBox.Enabled = -1      'Enable AboutBox in case it is displayed again
  57. Winfo.Show                        'Back to Winfo form
  58. Winfo.Enabled = -1            'Enable Winfo form
  59. End Sub
  60.  
  61.